package com.quectel.core.module.room.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quectel.core.module.room.dto.custom.SuspicionRoomInfoDto;
import com.quectel.core.module.room.entity.VillageRoomSuspicionOrderEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
/**
 *
 * @author ryan
 * @email ryan.ran@quectel.com
 * @date 2023/11/10 11:43
 */
public interface VillageRoomSuspicionOrderDao extends BaseMapper<VillageRoomSuspicionOrderEntity> {

    /**
     * 查询列表
     *
     * @param params
     * @return
     */
    List<VillageRoomSuspicionOrderEntity> queryList(Map<String,Object> params);

    /**
     * 查询数量
     *
     * @param params
     * @return
     */
    int queryTotal(Map<String, Object> params);

    List<SuspicionRoomInfoDto> querySuspicionInfo(@Param("villageId") Long villageId);
}
